# cookbook.py: library file with utility method for connecting to MySQL
# using the Connector/Python module
import pymysql

conn_params = {
    "database": "cookbook",
    "host": "localhost",
    "user": 'cbuser',
    "password": "cbpass",
}

def connect():
    return pymysql.connect(**conn_params)
